package cn.itsource.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class IpAddress {

    private Long id;
    private Long articleId;
    private String address;
    @JsonFormat(pattern = "yyyy-MM-dd:HH:mm:ss",timezone = "GTM+8")
    private Date createTime = new Date();
}
